textbuffer: emit notify signal for the "text" property
authorSébastien Wilmet <swilmet@gnome.org>
Sun, 20 Jul 2014 13:44:12 +0000 (15:44 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Tue, 29 Jul 2014 13:21:23 +0000 (15:21 +0200)
commit8ad9cf8b8c0ad0106e8cdd83f17e2627bf9226cf
treedf0efed8a324fa9b1a9188973516754c95f75062
parent86d9628a94157a9541250551e826bfc272587184
textbuffer: emit notify signal for the "text" property

Although there is the "changed" signal, it is more correct to notify the
"text" property too. It can be useful for a small text view, where the
text is saved e.g. to gsettings with a binding to the text property.

The "text" property includes only the text, not child widgets or images,
so the notify signal is sent too many times (also for child widgets and
images), but it's not a big problem.

https://bugzilla.gnome.org/show_bug.cgi?id=624791
gtk/gtktextbuffer.c